package com.yjc.drygoods.order.enume;

import lombok.Data;

/**
 * @author yjc
 * @create 2022-09-25 23:48
 */
public enum OrderStatusEnum {

    CREATE_NEW("待付款", 0),
    PAYED("已付款", 1),
    SENDED("已发货", 2),
    RECEIVED("已完成", 3),
    CANCLED("已取消", 4),
    SERVICING("售后中", 5),
    SERVICED("售后完成", 6);

    private String message;
    private Integer code;

    OrderStatusEnum(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
